import sys

sizeStr = ""
print(sys.getsizeof(sizeStr))


#
# import requests
# from datetime import datetime
#
# print(len(sizeStr))
# url = "http://localhost:9032/api/bak-daicy/service/archive/add"
#
# payload = {
#     "sumCondition": 1,
#     "currentPage": 1,
#     "pageSize": 10,
#     "initFlag": True,
#     "date": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
#     # "test": sizeStr
# }
# headers = {
#     "globalid": "7001800236755653503",
#     "content-type": "application/json"
# }
#
# # 创建请求对象
# request = requests.Request("GET", url, params=payload, headers=headers)
#
# # 获取请求信息
# prepared_request = request.prepare()
#
# # 打印请求信息
# print("Request URL:", prepared_request.url)
# print("Request Method:", prepared_request.method)
# print("Request Headers:", prepared_request.headers)
# print("Request Body:", prepared_request.body)
#
# # 发送请求
# response = requests.Session().send(prepared_request)
# # response = requests.request("POST", url, json=payload, headers=headers)
# # ss = requests.get(url, payload, data=headers, headers=headers)
#
# print(response)
#
#


class Adder:
    def __init__(self, num1, num2):
        self.num1 = num1
        self.num2 = num2

    def add(self, num3, num4):
        return self.num1 + self.num2 + num3 + num4

# 使用示例
num1 = 5
num2 = 3
adder = Adder(num1, num2)
adder = 3
print(adder)
